import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "home",
    component: () => import("../views/Index.vue"),
  },
  {
    path: "/index",
    name: "index",
    component: () => import("../views/Index.vue"),
  },
  {
    path: "/second",
    name: "second",
    component: () => import("../views/Second.vue"),
  },
  {
    path: "/third",
    name: "third",
    component: () => import("../views/Third.vue"),
  },
  {
    path: "/immunity",
    name: "immunity",
    component: () => import("../views/Immunity.vue"),
  },
  {
    path: "/adult",
    name: "adult",
    component: () => import("../views/Adult.vue"),
  },
  {
    path: "/fibre",
    name: "fibre",
    component: () => import("../views/Fibre.vue"),
  },
  {
    path: "/main",
    name: "main",
    component: () => import("../views/Main.vue"),
  },
  {
    path: "/honour",
    name: "honour",
    component: () => import("../views/Honour.vue"),
  },
  {
    path: "/join",
    name: "join",
    component: () => import("../views/Join.vue"),
  },
  {
    path: "/new",
    name: "new",
    component: () => import("../views/New.vue"),
  },
  {
    path: "/news",
    name: "news",
    component: () => import("../views/News.vue"),
  },
  {
    path: "/news1",
    name: "news1",
    component: () => import("../views/News1.vue"),
  },
  {
    path: "/news2",
    name: "news2",
    component: () => import("../views/News2.vue"),
  },
  {
    path: "/news3",
    name: "news3",
    component: () => import("../views/News3.vue"),
  },
  {
    path: "/register",
    name: "register",
    component: () => import("../views/Register.vue"),
  },
  {
    path: "/login",
    name: "login",
    component: () => import("../views/Login.vue"),
  },
  {
    path: "/industrial",
    name: "industrial",
    component: () => import("../views/Industrial.vue"),
  },
  {
    path: "/specialist",
    name: "specialist",
    component: () => import("../views/Specialist.vue"),
  },
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes,
});

export default router;
